//
//  CropperState.swift
//
//  Created by tao ma on 2022/11/4.
//


import UIKit

struct WmcCropperState: Codable {
    var viewFrame: CGRect
    var angle: CGFloat
    var rotationAngle: CGFloat
    var straightenAngle: CGFloat
    var flipAngle: CGFloat
    var imageOrientationRawValue: Int
    var scrollViewTransform: CGAffineTransform
    var scrollViewCenter: CGPoint
    var scrollViewBounds: CGRect
    var scrollViewContentOffset: CGPoint
    var scrollViewMinimumZoomScale: CGFloat
    var scrollViewMaximumZoomScale: CGFloat
    var scrollViewZoomScale: CGFloat
    var cropBoxFrame: CGRect
    var photoTranslation: CGPoint
    var imageViewTransform: CGAffineTransform
    var imageViewBoundsSize: CGSize
}
